package com.lt.experiment03.mission01_3;

public class Test {
    public static void main(String[] args) {
        GrowVegetablesFactory gvf1 = new GrowTransgeneFactory();
        GrowVegetablesFactory gvf2 = new GrowNonTransgeneFactory();
        Vegetables v1 = gvf1.GrowRootVegetable();
        v1.Sow();
        v1.Grow();
        v1.Fruit();
//        gvf1.GrowRootVegetable().Fruit();
//        System.out.println();
//        gvf1.GrowStemVegetable().Sow();
//        gvf1.GrowStemVegetable().Grow();
//        gvf1.GrowStemVegetable().Fruit();
//        System.out.println();
//        gvf2.GrowRootVegetable().Sow();
//        gvf2.GrowRootVegetable().Grow();
//        gvf2.GrowRootVegetable().Fruit();
//        System.out.println();
//        gvf2.GrowStemVegetable().Sow();
//        gvf2.GrowStemVegetable().Grow();
//        gvf2.GrowStemVegetable().Fruit();
    }
}
